        <div id="footer">
            <div class="foot_top">
            <p class="alignleft"><?php if(get_option('pr_footer_left_text')){ echo get_option('pr_footer_left_text'); } ?></p>
           <?php if(get_option('pr_foot_right')=='true'){?>     
                <p class="alignright"><?php echo get_option('pr_foot_right_text'); ?></p>
<?php } else{
    if ( has_nav_menu( 'footer-menu' ) ) {    
    wp_nav_menu( array( 'theme_location' => 'footer-menu','menu_class'=>'alignright footer-menu','depth'=>'0' ) );
    }
    } ?>  
            </div><!--end foot_top-->
            
            <div class="foot_bottom">
                <p><?php if(get_option('pr_foot_bottom_text')){ echo get_option('pr_foot_bottom_text'); } ?></p>
            </div><!--end foot_bottom-->
            
        </div><!--end footer-->
        
    </div><!--end page_wrapper-->
</div><!--body_wrapper-->


<?php if(get_option('pr_google_analytics')){echo stripslashes(get_option('pr_google_analytics'));} ?>
<?php wp_footer(); ?>

<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/custom.js"></script>
</body>
</html>